#include <iostream>
using namespace std;

int main(){
    int in = 0, target = 0;
    while (cin >> in){
        target += in;
    }
    cout << target << endl;

    return 0;
}
